<%--
  Created by IntelliJ IDEA.
  User: 郝龙飞
  Date: 2021/11/1
  Time: 14:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../../pages/common/head.jsp" %>
<html>
<head>
    <title>Title</title>
    <style>
        td {
            color: #ef7a55;
        }
        body {
            margin: 0;
            padding: 0;
        }

        #bottom {
            width: 100%;
            height: 80px;
            line-height: 80px;
            text-align: center;
            /* 方法一 */
            position: fixed;
            bottom: 0;
        }
    </style>
    <script>
    </script>
</head>
<body>
<div style="width: 100%;height: 50px;
background-color: #2aabd2;
text-align: center;color: white;font-size: 26px;padding-top: 8px">
    海飞丝洗发护发用品销售系统
</div>

<div style="width: 100%;height: 50px;
background-color: rgba(95,209,232,0.71);padding: 8px;font-size: 20px">
    <a href="javascript:history.back(-1)"><span style="color: #d93535">返回上一页</span></a>
    <span style="color: #242222;font-size: 23px">|</span>
    <a href="index.jsp"><span style="color: #d93535">返回商城首页</span></a>
</div>
<table class="table table-hover" style="width: 60%">
    <tr>
        <td>商品id</td>
        <td>商品名</td>
        <td>价格</td>
        <td>余量</td>
        <td>图片(修改时填图片路径)</td>
        <td></td>
    </tr>
    <tr>
        <form method="post" action="admin/goodsController?action=updateGoods2">
            <td><input type="text" name="id" value="${requestScope.idGoods. id}" disabled/></td>
            <td><input type="text" name="name" value="${requestScope.idGoods.name}"/></td>
            <td><input type="text" name="price" value="${requestScope.idGoods.price}"/></td>
            <td><input type="text" name="num" value="${requestScope.idGoods.num}"/></td>
            <td><input type="text" name="img" value="${requestScope.idGoods.img}"/></td>
            <td>
                <input type="submit" value="提交修改" class="btn btn-primary"/>
            </td>
        </form>
    </tr>
</table>
</body>
</html>
